<?php


/*
* Copyright (c) 2008-2016 vip.com, All Rights Reserved.
*
* Powered by com.vip.osp.osp-idlc-2.5.11.
*
*/

namespace com\vip\xstore\wop\inner\wm\service;
interface PoServiceIf{
	
	
	public function cancle( $wopPoId, $loginAccount, $vendorCode);
	
	public function closePo( $wopPoId, $loginAccount, $vendorCode);
	
	public function create(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel);
	
	public function createSelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel);
	
	public function createSelectiveRtId(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel);
	
	public function deleteByPrimaryKey( $id);
	
	public function doApprove( $wopPoId, $loginAccount, $vendorCode);
	
	public function findByPrimaryKey( $id);
	
	public function genSystemPoNo();
	
	public function getPoItemCount( $wopPoId);
	
	public function getPoStorageStatus( $systemPoNo);
	
	public function healthCheck();
	
	public function selectByClientPoNo( $vendorCode, $clientPoNo);
	
	public function selectBySysPoNo( $systemPoNo);
	
	public function selectBySystemPoNo( $vendorCode, $systemPoNo);
	
	public function selectCount(\com\vip\xstore\wop\inner\wm\service\PoQueryModel $poQueryModel);
	
	public function selectPage(\com\vip\xstore\wop\inner\wm\service\PoQueryModel $poQueryModel,\com\vip\xstore\wop\inner\common\service\PaginationModel $pageable);
	
	public function selectPoReportCount(\com\vip\xstore\wop\inner\wm\service\PoReportQueryModel $query);
	
	public function selectPoReportPage(\com\vip\xstore\wop\inner\wm\service\PoReportQueryModel $query,\com\vip\xstore\wop\inner\common\service\PaginationModel $pageable);
	
	public function updateByPrimaryKey(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel);
	
	public function updateByPrimaryKeySelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel);
	
	public function updateFromPoStatus(\com\vip\xstore\wop\inner\wm\service\InfWmsPoStatusSModel $poStatusS);
	
	public function updateFromRevInfo(\com\vip\xstore\wop\inner\wm\service\InfWmsRevInfoSModel $revInfoS);
	
	public function updateOnlyByPrimaryKeySelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel);
	
}

class _PoServiceClient extends \Osp\Base\OspStub implements \com\vip\xstore\wop\inner\wm\service\PoServiceIf{
	
	public function __construct(){
		
		parent::__construct("com.vip.xstore.wop.inner.wm.service.PoService", "1.0.0");
	}
	
	
	public function cancle( $wopPoId, $loginAccount, $vendorCode){
		
		$this->send_cancle( $wopPoId, $loginAccount, $vendorCode);
		return $this->recv_cancle();
	}
	
	public function send_cancle( $wopPoId, $loginAccount, $vendorCode){
		
		$this->initInvocation("cancle");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_cancle_args();
		
		$args->wopPoId = $wopPoId;
		
		$args->loginAccount = $loginAccount;
		
		$args->vendorCode = $vendorCode;
		
		$this->send_base($args);
	}
	
	public function recv_cancle(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_cancle_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function closePo( $wopPoId, $loginAccount, $vendorCode){
		
		$this->send_closePo( $wopPoId, $loginAccount, $vendorCode);
		return $this->recv_closePo();
	}
	
	public function send_closePo( $wopPoId, $loginAccount, $vendorCode){
		
		$this->initInvocation("closePo");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_closePo_args();
		
		$args->wopPoId = $wopPoId;
		
		$args->loginAccount = $loginAccount;
		
		$args->vendorCode = $vendorCode;
		
		$this->send_base($args);
	}
	
	public function recv_closePo(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_closePo_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function create(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->send_create( $poModel);
		return $this->recv_create();
	}
	
	public function send_create(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->initInvocation("create");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_create_args();
		
		$args->poModel = $poModel;
		
		$this->send_base($args);
	}
	
	public function recv_create(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_create_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function createSelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->send_createSelective( $poModel);
		return $this->recv_createSelective();
	}
	
	public function send_createSelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->initInvocation("createSelective");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_createSelective_args();
		
		$args->poModel = $poModel;
		
		$this->send_base($args);
	}
	
	public function recv_createSelective(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_createSelective_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function createSelectiveRtId(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->send_createSelectiveRtId( $poModel);
		return $this->recv_createSelectiveRtId();
	}
	
	public function send_createSelectiveRtId(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->initInvocation("createSelectiveRtId");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_createSelectiveRtId_args();
		
		$args->poModel = $poModel;
		
		$this->send_base($args);
	}
	
	public function recv_createSelectiveRtId(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_createSelectiveRtId_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function deleteByPrimaryKey( $id){
		
		$this->send_deleteByPrimaryKey( $id);
		return $this->recv_deleteByPrimaryKey();
	}
	
	public function send_deleteByPrimaryKey( $id){
		
		$this->initInvocation("deleteByPrimaryKey");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_deleteByPrimaryKey_args();
		
		$args->id = $id;
		
		$this->send_base($args);
	}
	
	public function recv_deleteByPrimaryKey(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_deleteByPrimaryKey_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function doApprove( $wopPoId, $loginAccount, $vendorCode){
		
		$this->send_doApprove( $wopPoId, $loginAccount, $vendorCode);
		return $this->recv_doApprove();
	}
	
	public function send_doApprove( $wopPoId, $loginAccount, $vendorCode){
		
		$this->initInvocation("doApprove");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_doApprove_args();
		
		$args->wopPoId = $wopPoId;
		
		$args->loginAccount = $loginAccount;
		
		$args->vendorCode = $vendorCode;
		
		$this->send_base($args);
	}
	
	public function recv_doApprove(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_doApprove_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function findByPrimaryKey( $id){
		
		$this->send_findByPrimaryKey( $id);
		return $this->recv_findByPrimaryKey();
	}
	
	public function send_findByPrimaryKey( $id){
		
		$this->initInvocation("findByPrimaryKey");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_findByPrimaryKey_args();
		
		$args->id = $id;
		
		$this->send_base($args);
	}
	
	public function recv_findByPrimaryKey(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_findByPrimaryKey_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function genSystemPoNo(){
		
		$this->send_genSystemPoNo();
		return $this->recv_genSystemPoNo();
	}
	
	public function send_genSystemPoNo(){
		
		$this->initInvocation("genSystemPoNo");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_genSystemPoNo_args();
		
		$this->send_base($args);
	}
	
	public function recv_genSystemPoNo(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_genSystemPoNo_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function getPoItemCount( $wopPoId){
		
		$this->send_getPoItemCount( $wopPoId);
		return $this->recv_getPoItemCount();
	}
	
	public function send_getPoItemCount( $wopPoId){
		
		$this->initInvocation("getPoItemCount");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_getPoItemCount_args();
		
		$args->wopPoId = $wopPoId;
		
		$this->send_base($args);
	}
	
	public function recv_getPoItemCount(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_getPoItemCount_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function getPoStorageStatus( $systemPoNo){
		
		$this->send_getPoStorageStatus( $systemPoNo);
		return $this->recv_getPoStorageStatus();
	}
	
	public function send_getPoStorageStatus( $systemPoNo){
		
		$this->initInvocation("getPoStorageStatus");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_getPoStorageStatus_args();
		
		$args->systemPoNo = $systemPoNo;
		
		$this->send_base($args);
	}
	
	public function recv_getPoStorageStatus(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_getPoStorageStatus_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function healthCheck(){
		
		$this->send_healthCheck();
		return $this->recv_healthCheck();
	}
	
	public function send_healthCheck(){
		
		$this->initInvocation("healthCheck");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_healthCheck_args();
		
		$this->send_base($args);
	}
	
	public function recv_healthCheck(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_healthCheck_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function selectByClientPoNo( $vendorCode, $clientPoNo){
		
		$this->send_selectByClientPoNo( $vendorCode, $clientPoNo);
		return $this->recv_selectByClientPoNo();
	}
	
	public function send_selectByClientPoNo( $vendorCode, $clientPoNo){
		
		$this->initInvocation("selectByClientPoNo");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_selectByClientPoNo_args();
		
		$args->vendorCode = $vendorCode;
		
		$args->clientPoNo = $clientPoNo;
		
		$this->send_base($args);
	}
	
	public function recv_selectByClientPoNo(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_selectByClientPoNo_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function selectBySysPoNo( $systemPoNo){
		
		$this->send_selectBySysPoNo( $systemPoNo);
		return $this->recv_selectBySysPoNo();
	}
	
	public function send_selectBySysPoNo( $systemPoNo){
		
		$this->initInvocation("selectBySysPoNo");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_selectBySysPoNo_args();
		
		$args->systemPoNo = $systemPoNo;
		
		$this->send_base($args);
	}
	
	public function recv_selectBySysPoNo(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_selectBySysPoNo_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function selectBySystemPoNo( $vendorCode, $systemPoNo){
		
		$this->send_selectBySystemPoNo( $vendorCode, $systemPoNo);
		return $this->recv_selectBySystemPoNo();
	}
	
	public function send_selectBySystemPoNo( $vendorCode, $systemPoNo){
		
		$this->initInvocation("selectBySystemPoNo");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_selectBySystemPoNo_args();
		
		$args->vendorCode = $vendorCode;
		
		$args->systemPoNo = $systemPoNo;
		
		$this->send_base($args);
	}
	
	public function recv_selectBySystemPoNo(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_selectBySystemPoNo_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function selectCount(\com\vip\xstore\wop\inner\wm\service\PoQueryModel $poQueryModel){
		
		$this->send_selectCount( $poQueryModel);
		return $this->recv_selectCount();
	}
	
	public function send_selectCount(\com\vip\xstore\wop\inner\wm\service\PoQueryModel $poQueryModel){
		
		$this->initInvocation("selectCount");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_selectCount_args();
		
		$args->poQueryModel = $poQueryModel;
		
		$this->send_base($args);
	}
	
	public function recv_selectCount(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_selectCount_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function selectPage(\com\vip\xstore\wop\inner\wm\service\PoQueryModel $poQueryModel,\com\vip\xstore\wop\inner\common\service\PaginationModel $pageable){
		
		$this->send_selectPage( $poQueryModel, $pageable);
		return $this->recv_selectPage();
	}
	
	public function send_selectPage(\com\vip\xstore\wop\inner\wm\service\PoQueryModel $poQueryModel,\com\vip\xstore\wop\inner\common\service\PaginationModel $pageable){
		
		$this->initInvocation("selectPage");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_selectPage_args();
		
		$args->poQueryModel = $poQueryModel;
		
		$args->pageable = $pageable;
		
		$this->send_base($args);
	}
	
	public function recv_selectPage(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_selectPage_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function selectPoReportCount(\com\vip\xstore\wop\inner\wm\service\PoReportQueryModel $query){
		
		$this->send_selectPoReportCount( $query);
		return $this->recv_selectPoReportCount();
	}
	
	public function send_selectPoReportCount(\com\vip\xstore\wop\inner\wm\service\PoReportQueryModel $query){
		
		$this->initInvocation("selectPoReportCount");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_selectPoReportCount_args();
		
		$args->query = $query;
		
		$this->send_base($args);
	}
	
	public function recv_selectPoReportCount(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_selectPoReportCount_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function selectPoReportPage(\com\vip\xstore\wop\inner\wm\service\PoReportQueryModel $query,\com\vip\xstore\wop\inner\common\service\PaginationModel $pageable){
		
		$this->send_selectPoReportPage( $query, $pageable);
		return $this->recv_selectPoReportPage();
	}
	
	public function send_selectPoReportPage(\com\vip\xstore\wop\inner\wm\service\PoReportQueryModel $query,\com\vip\xstore\wop\inner\common\service\PaginationModel $pageable){
		
		$this->initInvocation("selectPoReportPage");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_selectPoReportPage_args();
		
		$args->query = $query;
		
		$args->pageable = $pageable;
		
		$this->send_base($args);
	}
	
	public function recv_selectPoReportPage(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_selectPoReportPage_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function updateByPrimaryKey(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->send_updateByPrimaryKey( $poModel);
		return $this->recv_updateByPrimaryKey();
	}
	
	public function send_updateByPrimaryKey(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->initInvocation("updateByPrimaryKey");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_updateByPrimaryKey_args();
		
		$args->poModel = $poModel;
		
		$this->send_base($args);
	}
	
	public function recv_updateByPrimaryKey(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_updateByPrimaryKey_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function updateByPrimaryKeySelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->send_updateByPrimaryKeySelective( $poModel);
		return $this->recv_updateByPrimaryKeySelective();
	}
	
	public function send_updateByPrimaryKeySelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->initInvocation("updateByPrimaryKeySelective");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_updateByPrimaryKeySelective_args();
		
		$args->poModel = $poModel;
		
		$this->send_base($args);
	}
	
	public function recv_updateByPrimaryKeySelective(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_updateByPrimaryKeySelective_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function updateFromPoStatus(\com\vip\xstore\wop\inner\wm\service\InfWmsPoStatusSModel $poStatusS){
		
		$this->send_updateFromPoStatus( $poStatusS);
		return $this->recv_updateFromPoStatus();
	}
	
	public function send_updateFromPoStatus(\com\vip\xstore\wop\inner\wm\service\InfWmsPoStatusSModel $poStatusS){
		
		$this->initInvocation("updateFromPoStatus");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_updateFromPoStatus_args();
		
		$args->poStatusS = $poStatusS;
		
		$this->send_base($args);
	}
	
	public function recv_updateFromPoStatus(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_updateFromPoStatus_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function updateFromRevInfo(\com\vip\xstore\wop\inner\wm\service\InfWmsRevInfoSModel $revInfoS){
		
		$this->send_updateFromRevInfo( $revInfoS);
		return $this->recv_updateFromRevInfo();
	}
	
	public function send_updateFromRevInfo(\com\vip\xstore\wop\inner\wm\service\InfWmsRevInfoSModel $revInfoS){
		
		$this->initInvocation("updateFromRevInfo");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_updateFromRevInfo_args();
		
		$args->revInfoS = $revInfoS;
		
		$this->send_base($args);
	}
	
	public function recv_updateFromRevInfo(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_updateFromRevInfo_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
	public function updateOnlyByPrimaryKeySelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->send_updateOnlyByPrimaryKeySelective( $poModel);
		return $this->recv_updateOnlyByPrimaryKeySelective();
	}
	
	public function send_updateOnlyByPrimaryKeySelective(\com\vip\xstore\wop\inner\wm\service\PoModel $poModel){
		
		$this->initInvocation("updateOnlyByPrimaryKeySelective");
		$args = new \com\vip\xstore\wop\inner\wm\service\PoService_updateOnlyByPrimaryKeySelective_args();
		
		$args->poModel = $poModel;
		
		$this->send_base($args);
	}
	
	public function recv_updateOnlyByPrimaryKeySelective(){
		
		$result = new \com\vip\xstore\wop\inner\wm\service\PoService_updateOnlyByPrimaryKeySelective_result();
		$this->receive_base($result);
		if ($result->success !== null){
			
			return $result->success;
		}
		
	}
	
	
}




class PoService_cancle_args {
	
	static $_TSPEC;
	public $wopPoId = null;
	public $loginAccount = null;
	public $vendorCode = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'wopPoId'
			),
			2 => array(
			'var' => 'loginAccount'
			),
			3 => array(
			'var' => 'vendorCode'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['wopPoId'])){
				
				$this->wopPoId = $vals['wopPoId'];
			}
			
			
			if (isset($vals['loginAccount'])){
				
				$this->loginAccount = $vals['loginAccount'];
			}
			
			
			if (isset($vals['vendorCode'])){
				
				$this->vendorCode = $vals['vendorCode'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI64($this->wopPoId); 
			
		}
		
		
		
		
		if(true) {
			
			$input->readString($this->loginAccount);
			
		}
		
		
		
		
		if(true) {
			
			$input->readString($this->vendorCode);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->wopPoId !== null) {
			
			$xfer += $output->writeFieldBegin('wopPoId');
			$xfer += $output->writeI64($this->wopPoId);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->loginAccount !== null) {
			
			$xfer += $output->writeFieldBegin('loginAccount');
			$xfer += $output->writeString($this->loginAccount);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->vendorCode !== null) {
			
			$xfer += $output->writeFieldBegin('vendorCode');
			$xfer += $output->writeString($this->vendorCode);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_closePo_args {
	
	static $_TSPEC;
	public $wopPoId = null;
	public $loginAccount = null;
	public $vendorCode = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'wopPoId'
			),
			2 => array(
			'var' => 'loginAccount'
			),
			3 => array(
			'var' => 'vendorCode'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['wopPoId'])){
				
				$this->wopPoId = $vals['wopPoId'];
			}
			
			
			if (isset($vals['loginAccount'])){
				
				$this->loginAccount = $vals['loginAccount'];
			}
			
			
			if (isset($vals['vendorCode'])){
				
				$this->vendorCode = $vals['vendorCode'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI64($this->wopPoId); 
			
		}
		
		
		
		
		if(true) {
			
			$input->readString($this->loginAccount);
			
		}
		
		
		
		
		if(true) {
			
			$input->readString($this->vendorCode);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->wopPoId !== null) {
			
			$xfer += $output->writeFieldBegin('wopPoId');
			$xfer += $output->writeI64($this->wopPoId);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->loginAccount !== null) {
			
			$xfer += $output->writeFieldBegin('loginAccount');
			$xfer += $output->writeString($this->loginAccount);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->vendorCode !== null) {
			
			$xfer += $output->writeFieldBegin('vendorCode');
			$xfer += $output->writeString($this->vendorCode);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_create_args {
	
	static $_TSPEC;
	public $poModel = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poModel'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poModel'])){
				
				$this->poModel = $vals['poModel'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poModel = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->poModel->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->poModel !== null) {
			
			$xfer += $output->writeFieldBegin('poModel');
			
			if (!is_object($this->poModel)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->poModel->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_createSelective_args {
	
	static $_TSPEC;
	public $poModel = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poModel'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poModel'])){
				
				$this->poModel = $vals['poModel'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poModel = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->poModel->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->poModel !== null) {
			
			$xfer += $output->writeFieldBegin('poModel');
			
			if (!is_object($this->poModel)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->poModel->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_createSelectiveRtId_args {
	
	static $_TSPEC;
	public $poModel = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poModel'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poModel'])){
				
				$this->poModel = $vals['poModel'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poModel = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->poModel->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->poModel !== null) {
			
			$xfer += $output->writeFieldBegin('poModel');
			
			if (!is_object($this->poModel)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->poModel->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_deleteByPrimaryKey_args {
	
	static $_TSPEC;
	public $id = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'id'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['id'])){
				
				$this->id = $vals['id'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI64($this->id); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->id !== null) {
			
			$xfer += $output->writeFieldBegin('id');
			$xfer += $output->writeI64($this->id);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_doApprove_args {
	
	static $_TSPEC;
	public $wopPoId = null;
	public $loginAccount = null;
	public $vendorCode = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'wopPoId'
			),
			2 => array(
			'var' => 'loginAccount'
			),
			3 => array(
			'var' => 'vendorCode'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['wopPoId'])){
				
				$this->wopPoId = $vals['wopPoId'];
			}
			
			
			if (isset($vals['loginAccount'])){
				
				$this->loginAccount = $vals['loginAccount'];
			}
			
			
			if (isset($vals['vendorCode'])){
				
				$this->vendorCode = $vals['vendorCode'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI64($this->wopPoId); 
			
		}
		
		
		
		
		if(true) {
			
			$input->readString($this->loginAccount);
			
		}
		
		
		
		
		if(true) {
			
			$input->readString($this->vendorCode);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->wopPoId !== null) {
			
			$xfer += $output->writeFieldBegin('wopPoId');
			$xfer += $output->writeI64($this->wopPoId);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->loginAccount !== null) {
			
			$xfer += $output->writeFieldBegin('loginAccount');
			$xfer += $output->writeString($this->loginAccount);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->vendorCode !== null) {
			
			$xfer += $output->writeFieldBegin('vendorCode');
			$xfer += $output->writeString($this->vendorCode);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_findByPrimaryKey_args {
	
	static $_TSPEC;
	public $id = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'id'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['id'])){
				
				$this->id = $vals['id'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI64($this->id); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->id !== null) {
			
			$xfer += $output->writeFieldBegin('id');
			$xfer += $output->writeI64($this->id);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_genSystemPoNo_args {
	
	static $_TSPEC;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			
			);
			
		}
		
		if (is_array($vals)){
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_getPoItemCount_args {
	
	static $_TSPEC;
	public $wopPoId = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'wopPoId'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['wopPoId'])){
				
				$this->wopPoId = $vals['wopPoId'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI64($this->wopPoId); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->wopPoId !== null) {
			
			$xfer += $output->writeFieldBegin('wopPoId');
			$xfer += $output->writeI64($this->wopPoId);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_getPoStorageStatus_args {
	
	static $_TSPEC;
	public $systemPoNo = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'systemPoNo'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['systemPoNo'])){
				
				$this->systemPoNo = $vals['systemPoNo'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readString($this->systemPoNo);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->systemPoNo !== null) {
			
			$xfer += $output->writeFieldBegin('systemPoNo');
			$xfer += $output->writeString($this->systemPoNo);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_healthCheck_args {
	
	static $_TSPEC;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			
			);
			
		}
		
		if (is_array($vals)){
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectByClientPoNo_args {
	
	static $_TSPEC;
	public $vendorCode = null;
	public $clientPoNo = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'vendorCode'
			),
			2 => array(
			'var' => 'clientPoNo'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['vendorCode'])){
				
				$this->vendorCode = $vals['vendorCode'];
			}
			
			
			if (isset($vals['clientPoNo'])){
				
				$this->clientPoNo = $vals['clientPoNo'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readString($this->vendorCode);
			
		}
		
		
		
		
		if(true) {
			
			$input->readString($this->clientPoNo);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->vendorCode !== null) {
			
			$xfer += $output->writeFieldBegin('vendorCode');
			$xfer += $output->writeString($this->vendorCode);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->clientPoNo !== null) {
			
			$xfer += $output->writeFieldBegin('clientPoNo');
			$xfer += $output->writeString($this->clientPoNo);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectBySysPoNo_args {
	
	static $_TSPEC;
	public $systemPoNo = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'systemPoNo'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['systemPoNo'])){
				
				$this->systemPoNo = $vals['systemPoNo'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readString($this->systemPoNo);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->systemPoNo !== null) {
			
			$xfer += $output->writeFieldBegin('systemPoNo');
			$xfer += $output->writeString($this->systemPoNo);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectBySystemPoNo_args {
	
	static $_TSPEC;
	public $vendorCode = null;
	public $systemPoNo = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'vendorCode'
			),
			2 => array(
			'var' => 'systemPoNo'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['vendorCode'])){
				
				$this->vendorCode = $vals['vendorCode'];
			}
			
			
			if (isset($vals['systemPoNo'])){
				
				$this->systemPoNo = $vals['systemPoNo'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readString($this->vendorCode);
			
		}
		
		
		
		
		if(true) {
			
			$input->readString($this->systemPoNo);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->vendorCode !== null) {
			
			$xfer += $output->writeFieldBegin('vendorCode');
			$xfer += $output->writeString($this->vendorCode);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->systemPoNo !== null) {
			
			$xfer += $output->writeFieldBegin('systemPoNo');
			$xfer += $output->writeString($this->systemPoNo);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectCount_args {
	
	static $_TSPEC;
	public $poQueryModel = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poQueryModel'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poQueryModel'])){
				
				$this->poQueryModel = $vals['poQueryModel'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poQueryModel = new \com\vip\xstore\wop\inner\wm\service\PoQueryModel();
			$this->poQueryModel->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->poQueryModel !== null) {
			
			$xfer += $output->writeFieldBegin('poQueryModel');
			
			if (!is_object($this->poQueryModel)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->poQueryModel->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectPage_args {
	
	static $_TSPEC;
	public $poQueryModel = null;
	public $pageable = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poQueryModel'
			),
			2 => array(
			'var' => 'pageable'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poQueryModel'])){
				
				$this->poQueryModel = $vals['poQueryModel'];
			}
			
			
			if (isset($vals['pageable'])){
				
				$this->pageable = $vals['pageable'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poQueryModel = new \com\vip\xstore\wop\inner\wm\service\PoQueryModel();
			$this->poQueryModel->read($input);
			
		}
		
		
		
		
		if(true) {
			
			
			$this->pageable = new \com\vip\xstore\wop\inner\common\service\PaginationModel();
			$this->pageable->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->poQueryModel !== null) {
			
			$xfer += $output->writeFieldBegin('poQueryModel');
			
			if (!is_object($this->poQueryModel)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->poQueryModel->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->pageable !== null) {
			
			$xfer += $output->writeFieldBegin('pageable');
			
			if (!is_object($this->pageable)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->pageable->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectPoReportCount_args {
	
	static $_TSPEC;
	public $query = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'query'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['query'])){
				
				$this->query = $vals['query'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->query = new \com\vip\xstore\wop\inner\wm\service\PoReportQueryModel();
			$this->query->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->query !== null) {
			
			$xfer += $output->writeFieldBegin('query');
			
			if (!is_object($this->query)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->query->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectPoReportPage_args {
	
	static $_TSPEC;
	public $query = null;
	public $pageable = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'query'
			),
			2 => array(
			'var' => 'pageable'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['query'])){
				
				$this->query = $vals['query'];
			}
			
			
			if (isset($vals['pageable'])){
				
				$this->pageable = $vals['pageable'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->query = new \com\vip\xstore\wop\inner\wm\service\PoReportQueryModel();
			$this->query->read($input);
			
		}
		
		
		
		
		if(true) {
			
			
			$this->pageable = new \com\vip\xstore\wop\inner\common\service\PaginationModel();
			$this->pageable->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->query !== null) {
			
			$xfer += $output->writeFieldBegin('query');
			
			if (!is_object($this->query)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->query->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		if($this->pageable !== null) {
			
			$xfer += $output->writeFieldBegin('pageable');
			
			if (!is_object($this->pageable)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->pageable->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateByPrimaryKey_args {
	
	static $_TSPEC;
	public $poModel = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poModel'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poModel'])){
				
				$this->poModel = $vals['poModel'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poModel = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->poModel->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->poModel !== null) {
			
			$xfer += $output->writeFieldBegin('poModel');
			
			if (!is_object($this->poModel)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->poModel->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateByPrimaryKeySelective_args {
	
	static $_TSPEC;
	public $poModel = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poModel'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poModel'])){
				
				$this->poModel = $vals['poModel'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poModel = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->poModel->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->poModel !== null) {
			
			$xfer += $output->writeFieldBegin('poModel');
			
			if (!is_object($this->poModel)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->poModel->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateFromPoStatus_args {
	
	static $_TSPEC;
	public $poStatusS = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poStatusS'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poStatusS'])){
				
				$this->poStatusS = $vals['poStatusS'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poStatusS = new \com\vip\xstore\wop\inner\wm\service\InfWmsPoStatusSModel();
			$this->poStatusS->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('poStatusS');
		
		if (!is_object($this->poStatusS)) {
			
			throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
		}
		
		$xfer += $this->poStatusS->write($output);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateFromRevInfo_args {
	
	static $_TSPEC;
	public $revInfoS = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'revInfoS'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['revInfoS'])){
				
				$this->revInfoS = $vals['revInfoS'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->revInfoS = new \com\vip\xstore\wop\inner\wm\service\InfWmsRevInfoSModel();
			$this->revInfoS->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('revInfoS');
		
		if (!is_object($this->revInfoS)) {
			
			throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
		}
		
		$xfer += $this->revInfoS->write($output);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateOnlyByPrimaryKeySelective_args {
	
	static $_TSPEC;
	public $poModel = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			1 => array(
			'var' => 'poModel'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['poModel'])){
				
				$this->poModel = $vals['poModel'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->poModel = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->poModel->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->poModel !== null) {
			
			$xfer += $output->writeFieldBegin('poModel');
			
			if (!is_object($this->poModel)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->poModel->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_cancle_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\common\service\OperationResult();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_closePo_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\common\service\OperationResult();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_create_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\common\service\OperationResult();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_createSelective_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI32($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('success');
		$xfer += $output->writeI32($this->success);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_createSelectiveRtId_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI64($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			$xfer += $output->writeI64($this->success);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_deleteByPrimaryKey_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI32($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('success');
		$xfer += $output->writeI32($this->success);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_doApprove_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\common\service\OperationResult();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_findByPrimaryKey_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_genSystemPoNo_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readString($this->success);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			$xfer += $output->writeString($this->success);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_getPoItemCount_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = array();
			$input->readMapBegin();
			while(true){
				
				try{
					
					$key0 = '';
					$input->readString($key0);
					
					$val0 = 0;
					$input->readI32($val0); 
					
					$this->success[$key0] = $val0;
				}
				catch(\Exception $e){
					
					break;
				}
			}
			
			$input->readMapEnd();
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_array($this->success)){
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$output->writeMapBegin();
			foreach ($this->success as $kiter0 => $viter0){
				
				$xfer += $output->writeString($kiter0);
				
				$xfer += $output->writeI32($viter0);
				
			}
			
			$output->writeMapEnd();
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_getPoStorageStatus_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readByte($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			$xfer += $output->writeByte($this->success);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_healthCheck_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\hermes\core\health\CheckResult();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectByClientPoNo_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectBySysPoNo_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectBySystemPoNo_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\wm\service\PoModel();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectCount_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI64($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('success');
		$xfer += $output->writeI64($this->success);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectPage_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = array();
			$_size0 = 0;
			$input->readListBegin();
			while(true){
				
				try{
					
					$elem0 = null;
					
					$elem0 = new \com\vip\xstore\wop\inner\wm\service\PoModel();
					$elem0->read($input);
					
					$this->success[$_size0++] = $elem0;
				}
				catch(\Exception $e){
					
					break;
				}
			}
			
			$input->readListEnd();
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_array($this->success)){
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$output->writeListBegin();
			foreach ($this->success as $iter0){
				
				
				if (!is_object($iter0)) {
					
					throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
				}
				
				$xfer += $iter0->write($output);
				
			}
			
			$output->writeListEnd();
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectPoReportCount_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI32($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('success');
		$xfer += $output->writeI32($this->success);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_selectPoReportPage_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = array();
			$_size0 = 0;
			$input->readListBegin();
			while(true){
				
				try{
					
					$elem0 = null;
					
					$elem0 = new \com\vip\xstore\wop\inner\wm\service\PoReportModel();
					$elem0->read($input);
					
					$this->success[$_size0++] = $elem0;
				}
				catch(\Exception $e){
					
					break;
				}
			}
			
			$input->readListEnd();
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_array($this->success)){
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$output->writeListBegin();
			foreach ($this->success as $iter0){
				
				
				if (!is_object($iter0)) {
					
					throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
				}
				
				$xfer += $iter0->write($output);
				
			}
			
			$output->writeListEnd();
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateByPrimaryKey_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI32($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('success');
		$xfer += $output->writeI32($this->success);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateByPrimaryKeySelective_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			
			$this->success = new \com\vip\xstore\wop\inner\common\service\OperationResult();
			$this->success->read($input);
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		if($this->success !== null) {
			
			$xfer += $output->writeFieldBegin('success');
			
			if (!is_object($this->success)) {
				
				throw new \Osp\Exception\OspException('Bad type in structure.', \Osp\Exception\OspException::INVALID_DATA);
			}
			
			$xfer += $this->success->write($output);
			
			$xfer += $output->writeFieldEnd();
		}
		
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateFromPoStatus_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI32($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('success');
		$xfer += $output->writeI32($this->success);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateFromRevInfo_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI32($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('success');
		$xfer += $output->writeI32($this->success);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




class PoService_updateOnlyByPrimaryKeySelective_result {
	
	static $_TSPEC;
	public $success = null;
	
	public function __construct($vals=null){
		
		if (!isset(self::$_TSPEC)){
			
			self::$_TSPEC = array(
			0 => array(
			'var' => 'success'
			),
			
			);
			
		}
		
		if (is_array($vals)){
			
			
			if (isset($vals['success'])){
				
				$this->success = $vals['success'];
			}
			
			
		}
		
	}
	
	
	public function read($input){
		
		
		
		
		if(true) {
			
			$input->readI32($this->success); 
			
		}
		
		
		
		
		
		
	}
	
	public function write($output){
		
		$xfer = 0;
		$xfer += $output->writeStructBegin();
		
		$xfer += $output->writeFieldBegin('success');
		$xfer += $output->writeI32($this->success);
		
		$xfer += $output->writeFieldEnd();
		
		$xfer += $output->writeFieldStop();
		$xfer += $output->writeStructEnd();
		return $xfer;
	}
	
}




?>